<?php
require_once './includes/base.php';
$base = new Base();
$base->_init_all();

$module = 'search';
$function= isset($_REQUEST['f']) ? trim($_REQUEST['f']) : 'index';

m($module);
$classname = ucfirst($module).'Module';
$m = new $classname;
$m->$function();

?>